Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/logging print nargs #581

Merged

Conversation

j0yu
Copy link
Contributor

@j0yu j0yu commented Feb 28, 2019

Closes #580

Very simple fix, basically switching % with , in the logger calls.

I added some tests too!

@j0yu
Copy link
Contributor Author

j0yu commented Mar 1, 2019

Tested this locally in Docker using the following (TravisCI isn't running on PRs?)

FROM centos:7
COPY . /usr/local/src/
WORKDIR /usr/local/src
RUN python install.py /usr/local/share/
CMD /usr/local/share/bin/rez/rez-selftest -s bash

# # Alternatively, also include tcsh
# RUN yum install -y tcsh
# CMD /usr/local/share/bin/rez/rez-selftest

then docker build --rm -t local/rez . && docker run --rm -it local/rez

@nerdvegas nerdvegas merged commit 4b0a979 into AcademySoftwareFoundation:master Mar 15, 2019
@j0yu j0yu deleted the fix/logging_print_nargs branch March 27, 2019 15:05
@j0yu j0yu restored the fix/logging_print_nargs branch March 27, 2019 15:12
@j0yu j0yu deleted the fix/logging_print_nargs branch March 27, 2019 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nargs errors for logging_.print_* functions
2 participants